package client;

/**
 * @author: liuchong
 * @create: 2023/2/21 17:48
 * @description:
 */
public class Client1 {
    public static void main(String[] args) {
        try {
            long startTime = System.currentTimeMillis();
            QuotationClientV2 client = new QuotationClientV2(); // 启动客户端连接
            client.sendFile("resource/quotation_data1.txt"); // 发送文件
            long endTime = System.currentTimeMillis();
            System.out.println("程序运行时间： " + (endTime - startTime) + "ms");
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
